package com.yanqu.road.entity.enums;

/**
 * 跨服商会冲榜、争霸
 */
public enum eCrossUnionRankActivityType {


    /**
     * 商会赚速冲榜
     */
    unionEarnSpeedRiseRank(1),
    /**
     * 商会亲密度冲榜
     */
    unionIntimacyRiseRank(2),
    /**
     * 商会经验冲榜
     */
    unionExpRiseRank(3);


    private int intValue;

    public int getIntValue() {
        return intValue;
    }

    eCrossUnionRankActivityType(int intValue) {
        this.intValue = intValue;
    }

    public static eCrossUnionRankActivityType forValue(int value) {
        for (eCrossUnionRankActivityType type : eCrossUnionRankActivityType.values()) {
            if (type.intValue == value) {
                return type;
            }
        }
        return null;
    }
}
